<!DOCTYPE html>
<html lang="<?=LANG?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$da['title']?></title>
<link rel="stylesheet" type="text/css" href="res/css/css.css"/>
<link rel="stylesheet" type="text/css" href="res/fontawesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="res/css/chat.css"/>
<link rel="stylesheet" type="text/css" href="res/css/webimcss.css"/>
<script type="text/javascript" src="res/js/jquery.1.9.1.min.js"></script>
<script type="text/javascript" src="res/js/js.js"></script>
<script type="text/javascript" src="res/js/base64-min.js"></script>
<script type="text/javascript" src="webmain/reim/index/tpl_index_yuan.js?<?=time()?>"></script>
<script type="text/javascript" src="webmain/reim/index/tpl_index_lang.js?<?=time()?>"></script>
<link rel="shortcut icon" href="<?=$logo?>" />
<style>
.lefticon{color:white;font-size:20px;padding:20px 0px;cursor:pointer;width:100%;position:relative}
.lefticon:hover{background:rgba(0,0,0,0.05)}
.leftactive{background:rgba(0,0,0,0.1)}
<?php
$col = getconfig('apptheme','#336699');
$cola= c('image')->colorTorgb($col);
echo 'body{--main-color:'.$col.'}.qipao .qipaocontright{background:rgba('.$cola[0].','.$cola[1].','.$cola[2].',0.4)}.qipao .qipaoright{border-color: transparent transparent transparent rgba('.$cola[0].','.$cola[1].','.$cola[2].',0.4)}';

?>
</style>
<script>
var adminid = <?=$adminrs['id']?>,adminname = '<?=$adminname?>',admintype = '<?=$admintype?>',adminface = '<?=$adminrs['face']?>',cnum='<?=$cnum?>',useraid='<?=$xhrock->useraid?>',maincolor='<?=$col?>';
js.servernow='<?=$rock->now?>';CFROM='pcclient';
function initbody(){
	initrocklang();
	reim.init();
}
</script>
</head>


<body style="background:#f2f3f5;overflow:hidden" oncontextmenu="return false">

<table border="0" height="100%" width="100%">
<tr valign="top">
<td width="60" class="zhuheader">
<div id="leftdiv" style="width:60px;overflow:hidden;position:relative">
	<div style="border-bottom:1px rgba(0,0,0,0.1) solid;height:60px;overflow:hidden;cursor:pointer" onclick="reim.showmyinfo()" align="center" title="<?=$adminname?>"><img src="<?=$adminrs['face']?>" id="homeface" style="border-radius:50%;margin-top:10px" width="40" height="40"></div>
	

	
	<div align="center" title="当前对话" ltabs="left" id="leftmenu0" onclick="reim.changleft(0)" class="lefticon leftactive">
		<span style="position:absolute;top:2px;right:2px" id="chatbadge" class="badge"></span>
		<i class="icon-comment-alt"></i>
	</div>
	<div align="center" title="通讯录" ltabs="left" id="leftmenu1" onclick="reim.changleft(1)" class="lefticon">
		<i class="icon-sitemap"></i>
	</div>
	<div align="center" title="应用" ltabs="left" id="leftmenu3" onclick="reim.changleft(3)" class="lefticon">
		<i class="icon-th-large"></i>
	</div>
	<!--
	<div align="center" title="咨询队列" ltabs="left" id="leftmenu2" onclick="reim.changleft(2)"  class="lefticon">
		<span style="position:absolute;top:2px;right:2px" id="waitbadge" class="badge"></span>
		<i class="icon-time"></i>
	</div>
	-->
	<div align="center" style="position:absolute;bottom:0px;font-size:16px" id="cogbtnss" title="<?=lang('shezhi')?>" class="lefticon">
		<i class="icon-reorder"></i>
	</div>
</div>
</td>
<td width="230px" bgcolor="#ebebeb" valign="top" style="border-right:1px #cccccc solid">
	<div>
		<div style="height:60px;overflow:hidden" align="center"><input id="reim_keysou" placeholder="人员/会话/应用" style="border:none;background-color:#d4d6d9; width:150px;height:30px;border-radius:5px;margin-top:13px;padding:0px 10px" type="text"> &nbsp;&nbsp;<span class="cursor" id="plusbtn" style="color:#999999"><i class="icon-plus"></i></span></div>
		<div id="leftmainlist"  style="height:300px;overflow:hidden;position:relative">
			<div id="leftshow0" ltabs="cont"></div>
			<div id="leftshow1" ltabs="cont" style="display:none">
				<div style="padding:5px;color:#aaaaaa;border-bottom:1px rgba(0,0,0,0.05) solid">组织结构</div><div id="showdept"></div>
				<div id="showgroupdivs" style="padding:5px;color:#aaaaaa;border-bottom:1px rgba(0,0,0,0.05) solid">会话(0)</div><div id="showgroupdiv"></div>
			</div>
			<div id="leftshow2" ltabs="cont" style="display:none"></div>
			<div id="leftshow3" ltabs="cont" style="display:none"></div>
		</div>
	</div>
</td>
<td >
	<div id="viewzhulist"></div>
</td>
</tr>
</table>

<script type="text/javascript" src="res/js/jquery-rockmodels.js"></script>
<script type="text/javascript" src="res/js/notify.js"></script>
<script type="text/javascript" src="res/js/nwjs.js"></script>
<script type="text/javascript" src="res/js/websocket.js"></script>
<script type="text/javascript" src="res/js/strformat.js"></script>
<link rel="stylesheet" type="text/css" href="res/perfectscrollbar/perfect-scrollbar.css"/>
<script type="text/javascript" src="res/perfectscrollbar/perfect-scrollbar.js"></script>
<script type="text/javascript" src="res/perfectscrollbar/jquery.mousewheel.js"></script>
<link rel="stylesheet" type="text/css" href="res/menu/jquery-rockmenu.css">
<script type="text/javascript" src="res/menu/jquery-rockmenu.js"></script>
<script type="text/javascript" src="res/js/jquery-rockupload.js"></script>
<script type="text/javascript" src="res/js/jquery-imgview.js"></script>

</body>
</html>